package com.sanjin.repository;

import com.sanjin.entity.ParkSpace;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @description:
 * @author: sanjin
 * @date: 2019/5/5 15:54
 */
public interface ParkSpaceRepository extends JpaRepository<ParkSpace, Integer> {

    List<ParkSpace> findParkSpacesByParkLotId(Integer parkLotId);

    ParkSpace findParkSpacesByLoraAddr(String loraAddr);
}
